import request from '@/utils/request';

export function fetchList(query?: Object) {
  return request({
    url: '/lotto-app/result/page',
    method: 'get',
    params: query
  })
}

export function getPeriod() {
  return request({
    url: '/lotto-app/period/next',
    method: 'get'
  })
}
